package com.sidianzhong.sdz.mapper;

import com.sidianzhong.sdz.model.LoansAttestation;
import com.sidianzhong.sdz.model.LoansAttestationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LoansAttestationMapper {
    long countByExample(LoansAttestationExample example);

    int deleteByExample(LoansAttestationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LoansAttestation record);

    int insertSelective(LoansAttestation record);

    List<LoansAttestation> selectByExample(LoansAttestationExample example);

    LoansAttestation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LoansAttestation record, @Param("example") LoansAttestationExample example);

    int updateByExample(@Param("record") LoansAttestation record, @Param("example") LoansAttestationExample example);

    int updateByPrimaryKeySelective(LoansAttestation record);

    int updateByPrimaryKey(LoansAttestation record);

    LoansAttestation selectByUserId(Integer userId);
}